package com.motong.gongdan.vo.H5Vo.workOrder.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.Date;
import java.util.List;

@Data
@ApiModel("合并后的查询条件")
public class WorkListMergedConditionVo {
    @ApiModelProperty("工单id")
    private Integer id;
    @ApiModelProperty("工单编码")
    private String code;
    @ApiModelProperty("工单编码(第二搜索)")
    private String codeBak;
    @ApiModelProperty("产品名称")
    private String productName;
    @ApiModelProperty("产品名称(第二搜索)")
    private String productNameBak;
    @ApiModelProperty("产品编码")
    private String productCode;
    @ApiModelProperty("产品编码(第二搜索)")
    private String productCodeBak;
    @ApiModelProperty("产品规格")
    private String productSpecification;
    @ApiModelProperty("产品规格(第二搜索)")
    private String productSpecificationBak;
    @ApiModelProperty("单位")
    private String unit;
    @ApiModelProperty("备注")
    private String comment;
    @ApiModelProperty("备注(第二搜索)")
    private String commentBak;
    @ApiModelProperty("计划数(小)")
    private BigDecimal planedNumberDown;
    @ApiModelProperty("计划数(大)")
    private BigDecimal planedNumberUp;
    @ApiModelProperty("实际数(小)")
    private BigDecimal actualNumberDown;
    @ApiModelProperty("实际数(大)")
    private BigDecimal actualNumberUp;
    @ApiModelProperty("良品数(小)")
    private BigDecimal goodProductNumberDown;
    @ApiModelProperty("良品数(大)")
    private BigDecimal goodProductNumberUp;
    @ApiModelProperty("不良品数(小)")
    private BigDecimal badProductNumberDown;
    @ApiModelProperty("良品数(大)")
    private BigDecimal badProductNumberUp;
    @ApiModelProperty("计划开始时间(小)")
    private Date startTimeStart;
    @ApiModelProperty("计划开始时间(大)")
    private Date startTimeEnd;
    @ApiModelProperty("计划结束时间(小)")
    private Date endTimeStart;
    @ApiModelProperty("计划结束时间(大)")
    private Date endTimeEnd;
    @ApiModelProperty("实际开始时间(小)")
    private Date actualStartTimeStart;
    @ApiModelProperty("实际开始时间(大)")
    private Date actualStartTimeEnd;
    @ApiModelProperty("实际结束时间(小)")
    private Date actualEndTimeStart;
    @ApiModelProperty("实际结束时间(大)")
    private Date actualEndTimeEnd;
    @ApiModelProperty("工单状态")
    private List<Integer> state;

    @ApiModelProperty("工单id集合")
    private List<Integer> ids;

    @ApiModelProperty("单位id集合")
    private List<String> unitIdList = Collections.emptyList();


    @ApiModelProperty("排序 创建时间/计划开始/计划结束/工单编号/产品名/产品规格  wo.create_time/wo.start_time/wo.end_time/wo.code/p.name/p.specification")
    private String order;
    @ApiModelProperty(value = "升序/降序  asc/desc")
    private String orderType;
    @ApiModelProperty(value = "搜索")
    private String search;

    @ApiModelProperty(value = "二级分组参数名称")
    private String secondGroupColumnName;
}
